#define  _CRT_SECURE_NO_WARNINGS 1	
#include<stdio.h>
int main()
{
    int a = 0;
    int b = 0;
    int r = 0;
    int s = 0;
    double c = 0;
    scanf("%d%d", &a, &b);
    scanf("%d", &r);
    scanf("%d", &s);
    printf("%d\n", a * b);
    c = 3.14 * r * r;
    if (c - (double)(int)c)
    {
        if ((int)(c * 100) % 10)
        {
            printf("%.2lf\n", c);
        }
        else
        {
            printf("%.1lf\n", c);
        }
    }
    else
    {
        printf("%d\n", (int)c);
    }
    printf("%d\n", s * s);
    return 0;
}